#ifndef LOGINDIALOG_H
#define LOGINDIALOG_H
#include <QWidget>
#include <QLabel>
#include <QPushButton>
#include <QLineEdit>
#include <QDialog>
#include <QGridLayout>
#include <QMessageBox>
#include <QSqlQuery>
#include <QDebug>


class LoginDialog : public QDialog
{
    Q_OBJECT
public:
    explicit LoginDialog(QWidget *parent = 0);
private:
    QLabel* welcomeLabel;
    QLabel* usernameLabel;
    QLineEdit* usernameLineEdit;
    QLabel* passwordLabel;
    QLineEdit* passwordLineEdit;
    QPushButton* okButton;
    QPushButton* cancelButton;
private slots:
    void slotOkButton();
    void slotcancelButton();
};

#endif // LOGINDIALOG_H
